<?php
//require_once  __DIR__ . '/includes/authenticate.php';

if(isset($_POST['noteid'])){

	$noteID=$_POST['noteid'];	

	include_once './db_bb_connect.php';

	$sql = "DELETE FROM profiles
	WHERE ID = '$noteID'";

	$db->query($sql);

}
?>